// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** 此处后端没有提供注释 GET /rag/chat */
export async function chatToLearnWithRag(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.chatToLearnWithRAGParams,
  options?: { [key: string]: any }
) {
  return request<API.ServerSentEventString[]>('/rag/chat', {
    method: 'GET',
    params: {
      // model has a default value: qwen-plus
      model: 'qwen-plus',
      ...params,
    },
    ...(options || {}),
  })
}

/** 此处后端没有提供注释 GET /rag/deep-thinking/chat */
export async function deepThinkingChatToLearnWithRag(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.deepThinkingChatToLearnWithRAGParams,
  options?: { [key: string]: any }
) {
  return request<API.ServerSentEventString[]>('/rag/deep-thinking/chat', {
    method: 'GET',
    params: {
      // model has a default value: qwen-plus
      model: 'qwen-plus',
      ...params,
    },
    ...(options || {}),
  })
}
